<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>太阳系行星运动</title>
    <style>
        body {
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: #000;
            overflow: hidden;
        }
        canvas {
            border: 1px solid #333;
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
        }
        .planet-info {
            position: fixed;
            top: 20px;
            left: 20px;
            color: #fff;
            font-family: 'Microsoft YaHei', sans-serif;
            background: rgba(0, 0, 0, 0.7);
            padding: 15px;
            border-radius: 10px;
            display: none;
        }
    </style>
</head>
<body>
    <canvas id="solarSystem"></canvas>
    <div id="planetInfo" class="planet-info"></div>
    <script src="solar.js"></script>
</body>
</html> 